package com.zx.service.user;

import com.zx.dto.request.user.ReceivingDtoRequest;
import com.zx.dto.response.user.ReceivingDtoResult;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author sunkai
 * @date 2022/8/17 0017 17:03
 * @mood zhou xun
 */

public interface ReceivingService {

    List<ReceivingDtoResult> queryAddress(String userToken,ReceivingDtoRequest receivingDtoRequest);

    Boolean addAddress(ReceivingDtoRequest receivingDtoRequest);

    Boolean updateAddress(String userToken, ReceivingDtoRequest receivingDtoRequest);

    Boolean deleteAddress(ReceivingDtoRequest receivingDtoRequest);
}
